/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.guide.mapper;

import com.jeeplus.modules.guide.entity.MobileUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Mapper
@Repository
public interface MobileLoginMapper {
    Map<String, Object> selectUser(@Param("OpendId") String OpendId);
    Map<String, String> findUser(@Param("loginName") String loginName);
    MobileUser findUserMatter(@Param("loginName") String loginName);
    void updateUserMatter(MobileUser mu);
    String getOpenid(String idcard);
    void intoUserToken(String id,String token,String loginTime,String loginName);
    void intoQRUserToken(String id,String token,String loginTime,String loginName);
    void updateTokenById(String id);
    String getTokenById(String id);
    int updateUserCount(String visitTime);
    void intoUserCount(String visitTime);
    int updateYmbcsCount(String visitTime);
    void intoYmbcsCount(String visitTime);
    void updateUserValue(String uuid);
    Integer findUserValue(String tell);
    Integer findUserValueMonth(String tell);
    Integer findUserValueNum();
    void intoOtherAllValue(String gxId,String idcard,String name,String address,String openid,String tell,String bizToken);
    void intoUserMaterial(String materialName,String materialurl,String userId);
    int updateUserMaterial(String materialurl,String userId,String materialName);
    int delUserMaterial(String userId);
    Integer findUserTell(String tell);
    Integer findUserByIdacrd(String idcard);
    Map<String, String> findCompanyValue(String openid);
    Map<String, String> findLegalValue(String openid);
    Map<String, String> findUserByOpendId(String openid);

}
